package com.shen.nettysocketchat.handler

import com.shen.nettysocketchat.bean.AppMessage

/**
 * 抽象的MessageHandler
 */
abstract class AbstractMessageHandler : IMessageHandler {
    override fun execute(message: AppMessage?) {
        action(message)
    }
    protected abstract fun action(message: AppMessage?)
}